import { RouteRecordRaw, RouterView } from 'vue-router'

import { redirectPath } from '../help'

export const routes: RouteRecordRaw[] = [
  {
    path: '/admin/drawing-record',
    component: RouterView,
    meta: { title: '学生绘图管理', auth: ['admin-case-manage-list'] },
    redirect: redirectPath,
    children: [
      {
        path: '/admin/drawing-record/list',
        component: () => import('@/views/admin/drawing-record/list/index.vue'),
        meta: { title: '学生绘图管理', auth: ['admin-case-manage-list'] }
      }
    ]
  }
]

export default routes
